﻿@model EditWidgetViewModel
@{
	Html.EnableClientValidation(true);
	Html.EnableUnobtrusiveJavaScript(true);
}

@using (Html.BeginForm("Edit", "Widgets"))
{
	@Html.AntiForgeryToken();
	@Html.HiddenFor(m => m.Widget.Id);
	@Html.HiddenFor(m => m.Widget.WidgetTypeName);
	@Html.EditorFor(m => m.Widget);
}